Description:
This message is reported when significant bits are lost because of a conversion from a larger integer type to a smaller integer type.
Incorrect:
void ex(int x) { if (x > 1000) { byte b = (byte) x; } }